﻿using SqlSugar;

namespace apitest.Application.Entities.Pms
{
    [SugarTable("Production_Batch")]
    public partial class Production_Batch
    {
           public Production_Batch(){


           }
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int? Id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ProjectCode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Cat {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Batch {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ProductionCode { get;set;}
           public string Site { get;set;}
           public string Remark { get; set;}
           public int ManagerUserId { get; set;}
           public string ManagerUserName { get; set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public float? ProduceNum {get;set;}
           public string ProduceType { get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           //public float? WastesNum {get;set;}
           public float? WastesLiquid { get;set;}
           public float? HeightWastesLiquid { get;set;}
           public float? LowWastesLiquid { get;set;}
           public float?  WastesSolid { get;set;}
           public float? MotherProduct { get;set;}
           public float? Purity { get;set;}
           public float? Yield { get;set;}
        
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? CreateUserId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CreateUserName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateTime {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? ModifyUserId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ModifyUserName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? ModifyTime {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string  Status {get;set;}

        public int? FinishUserId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string FinishUserName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? FinishTime { get; set; }
        public bool? ManagerAuditStatus { get; set; }
        public bool? QAAuditStatus { get; set; }
        public string Going { get; set; }
        public string GoingRemark { get; set; }
        public string FinishRemark { get; set; }
        public double DeviceAmount { get; set; }
        public double MaterialAmount { get; set; }
        public double UserAmount { get; set; }
        public double IntermediateAmount { get; set; }
        public double Amount { get; set; }
        public bool IsAmount { get; set; }
        public double MaterialCost { get; set; }
        public double COGPrice { get; set; }
        public double WastesLiquidAmount { get; set; }
        public double HeightWastesLiquidAmount { get; set; }
        public double LowWastesLiquidAmount { get; set; }
        public double WastesSolidAmount { get; set; }
    }
}
